#ifndef ROAD_h
#define ROAD_h
#include "WProgram.h"
#include "Vector2D.h"
#include "WayPoint.h"
class Road
{
 public:
  Road();
  Road(float latitude1, float longitude1, float latitude2, float longitude2);
  Road(WayPoint wp1, WayPoint wp2);
  WayPoint _wp1;
  WayPoint _wp2;
  float dist(WayPoint wp);
  Vector2D asVect();
  float length();
};
#endif
